package org.example.route.model.vo;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "用户信息")
public class UserVO {
    @Schema(description = "用户id")
    private Long id;
    @Schema(description = "用户名")
    private String name;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "账号")
    private String account;
    @Schema(description = "密码")
    private String password;
    @Schema(description = "身份证号")
    private String idNumber;
    @Schema(description = "用户状态")
    //0：管理员，1：用户
    private Long status;
    @Schema(description = "用户头像")
    private String avatar;
    //是否封禁
    @Schema(description = "是否封禁")
    private Long banned;

}
